package com.wenguodong.demofirstt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wenguodong.demofirstt.pojo.User;
import org.springframework.stereotype.Service;

/*
 *@Time：2023/4/15
 *@Author：Jelly
 */
@Service
public interface UserService extends IService<User> {

    //根据用户名和密码查询用户，返回查询结果
    public Integer getUserByNameAndPwd(String userName,String userPassword);

    //用户注册
    public Integer addUser(User user);


}
